const store = new Vuex.Store({
  state: {
    name: "喀什觉得拉克丝12312312",
    list: [1, 2, 3, 4, 5, 6, 7, 8],
  },
  getters: {
    modifyArr(state) {
      return state.list.map((item) => {
        return item % 2 == 0;
      });
    },
    getLength(state, getters) {
      return getters.modifyArr.length;
    },
  },
});
